package com.dalong.springboot.dao;

import com.dalong.springboot.bean.XwlRole;
import com.dalong.springboot.bean.XwlRoleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface XwlRoleMapper {
    long countByExample(XwlRoleExample example);

    int deleteByExample(XwlRoleExample example);

    int deleteByPrimaryKey(Integer roleId);

    int insert(XwlRole record);

    int insertSelective(XwlRole record);

    List<XwlRole> selectByExample(XwlRoleExample example);

    XwlRole selectByPrimaryKey(Integer roleId);

    XwlRole selectByRolePermissionById(Integer id);

    int updateByExampleSelective(@Param("record") XwlRole record, @Param("example") XwlRoleExample example);

    int updateByExample(@Param("record") XwlRole record, @Param("example") XwlRoleExample example);

    int updateByPrimaryKeySelective(XwlRole record);

    int updateByPrimaryKey(XwlRole record);
}